#pragma once
#include "GSE_CDataSet.h"

namespace GSE
{
	class CMysqlFieldInfo : public CFieldMap
	{
	public:
		CMysqlFieldInfo(MYSQL_RES * res);
	};


	class CMysqlDataSet : public CDataSet
	{
	public:
		CMysqlDataSet(MYSQL_RES* res);
		virtual uint FieldCount() const;
		virtual uint FieldIndex(const char * strFieldName) const;
		virtual const IRow & operator [] (int index) const;
	private:
		CMysqlFieldInfo * m_pFields;
	};
}